![]() | Integration by the Browser Deployment | URLfetch | ![]() |
@command syntax: @DBCALL <DatabaseID from ajax.php> , <SQL string> [ , <return success boolean> [ , <return array> ] ]
This command requires a file called "ajax.php"which is available on request from XpertRule. PHP needs to be setup on the web server and the appropriate plugin enabled via the PHP Manager of IIS for database access such as php_sqlite3.dll (SQLite) or php_mysqli.dll (MySQL). The "ajax.php" needs to be configured for the database that is to be used, such as the login parameters.
For example reading a table:
@DBCALL 'DB1', 'Select name, age from table1', retbool, retarray